package com.cxl.price.top.service;

import java.lang.reflect.InvocationTargetException;

import javax.servlet.http.HttpServletRequest;

import com.taobao.api.ApiException;
import com.taobao.api.TaobaoRequest;
import com.taobao.api.TaobaoResponse;
import com.taobao.api.request.ItemsOnsaleGetRequest;
import com.taobao.api.response.ItemsOnsaleGetResponse;


public class TopItemService extends TopBaseService {
	
	

	/**
	 * 获得所有商品
	 * @return
	 * @throws ApiException 
	 * @throws InvocationTargetException 
	 * @throws IllegalAccessException 
	 * @throws InstantiationException 
	 * @throws IllegalArgumentException 
	 */
	public ItemsOnsaleGetResponse getAllItem() throws IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException, ApiException
	{
		return  (ItemsOnsaleGetResponse)getTaobaoResponse(new ItemsOnsaleGetRequest());
	}

}
